Optimal. Leaf size=49 \[ \frac{\left (a+b x^n\right )^{p+2}}{b^2 n (p+2)}-\frac{a \left (a+b x^n\right )^{p+1}}{b^2 n (p+1)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0779127, antiderivative size = 49, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118 \[ \frac{\left (a+b x^n\right )^{p+2}}{b^2 n (p+2)}-\frac{a \left (a+b x^n\right )^{p+1}}{b^2 n (p+1)} \]
Antiderivative was successfully verified.
[In] Int[x^(-1 + 2*n)*(a + b*x^n)^p,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 11.5897, size = 37, normalized size = 0.76 \[ - \frac{a \left (a + b x^{n}\right )^{p + 1}}{b^{2} n \left (p + 1\right )} + \frac{\left (a + b x^{n}\right )^{p + 2}}{b^{2} n \left (p + 2\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**(-1+2*n)*(a+b*x**n)**p,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.051251, size = 40, normalized size = 0.82 \[ \frac{\left (a+b x^n\right )^{p+1} \left (b (p+1) x^n-a\right )}{b^2 n (p+1) (p+2)} \]
Antiderivative was successfully verified.
[In] Integrate[x^(-1 + 2*n)*(a + b*x^n)^p,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.083, size = 61, normalized size = 1.2 \[ -{\frac{ \left ( -{b}^{2}p \left ({x}^{n} \right ) ^{2}-ap{x}^{n}b-{b}^{2} \left ({x}^{n} \right ) ^{2}+{a}^{2} \right ) \left ( a+b{x}^{n} \right ) ^{p}}{ \left ( 1+p \right ) \left ( 2+p \right ) n{b}^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^(-1+2*n)*(a+b*x^n)^p,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.40728, size = 69, normalized size = 1.41 \[ \frac{{\left (b^{2}{\left (p + 1\right )} x^{2 \, n} + a b p x^{n} - a^{2}\right )}{\left (b x^{n} + a\right )}^{p}}{{\left (p^{2} + 3 \, p + 2\right )} b^{2} n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^p*x^(2*n - 1),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.238824, size = 84, normalized size = 1.71 \[ \frac{{\left (a b p x^{n} - a^{2} +{\left (b^{2} p + b^{2}\right )} x^{2 \, n}\right )}{\left (b x^{n} + a\right )}^{p}}{b^{2} n p^{2} + 3 \, b^{2} n p + 2 \, b^{2} n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^p*x^(2*n - 1),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**(-1+2*n)*(a+b*x**n)**p,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{n} + a\right )}^{p} x^{2 \, n - 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^p*x^(2*n - 1),x, algorithm="giac")
[Out]